package com.dubbo.server.vo;


import com.dubbo.server.pojo.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageResult extends BasePojo {
    private String id; //主键id
    private String pid; //动态
    private long createDate; //发布时间
    private String text; //文字
    private String videoUrl; //视频
    private String picUrl; //视频封面
    private Integer commentCount;//评论数
    private Integer likeCount;//喜欢数
    private Integer reportCount;//举报数
    private Integer forwardingCount;//转发数
    private String place;//操作地点
    private String equipment;//操作设备
    private Long logTime;//日志时间



//    public void setCreateDate(Date created) {
//        long time = created.getTime();
//        this.logTime = time;
//    }
}
